package com.oa.pm.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "组织架构表")
public class OrganizationTreeVO {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "组织架构名称")
    private String organizationName;

    @ApiModelProperty(value = "上级组织架构id(即部门id)")
    private String pId;

    @ApiModelProperty(value = "组织负责人")
    private String organizationLeader;

    @ApiModelProperty(value = "备注")
    private String remake;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建者Id")
    private String createId;

    @ApiModelProperty("是否是user节点")
    private Boolean isUser;

    @ApiModelProperty("子节点")
    List<OrganizationTreeVO> organizationTreeVOList;
}
